/**
 * Created by meiguizhinian on 2018/7/17
 * Copyright © 2018 lixiaolong. All rights reserved.
 */

(function () {
	ivy.SourceTeachType = function(name) {
		this._typeName = name;
		this._elementType = new LLArray();
	};
	let p = ivy.SourceTeachType.prototype;
	////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	p.getElementTypeVec = function() {
		return this._elementType;
	};
	p.size = function() {
		return this._elementType.size();
	};
	p.get = function(index) {
		return this._elementType.get(index) || ivy.SourceTeachType.BaseElementType.eNone;
	}
})();

ivy.SourceTeachType.BaseElementType = {
	eNone   : -1,
	//base为无效类型 出现在数据中说明有bug
	eBase   : 0,
	eInt    : 1,
	eString : 2,
	eRect   : 3,
	eFloat  : 4,
	eAni    : 5,
	eList   : 6,
	eVec2F  : 7,
	eAction : 8,
};